from pydantic import BaseModel
from fastapi import Form

class PasswordReset(BaseModel):
    # 重置密码
    username: str
    new_password: str
    secret: str


class ChatForm:
    def __init__(
        self,
        message: str = Form(..., description="聊天消息内容")
    ):
        self.message = message
